Skip to content

Conversation

@sunidhi1dec
Copy link

πŸ“Œ Related Issue

Closes #106

✨ Changes Introduced

Updated: Migrated from tseslint.config to defineConfig in eslint.config.ts

Fixed: Ignoring MDX files during linting to prevent errors

Improved: Modern ESLint setup compatible with current TypeScript ESLint plugin

πŸ€” Why This Change?

Problem: tseslint.config is deprecated, and linting MDX files caused errors when running ESLint.

Solution: Updated ESLint configuration to use defineConfig and added proper file ignores for MDX files.

Impact: Developers now have a smooth linting experience and fewer errors during development.

βœ… Checklist

Changes made in a separate branch (fix-eslint-config)

Tested ESLint locally on JS/TS/MDX files

Commit messages follow Git guidelines

@netlify
Copy link

netlify bot commented Oct 12, 2025

‼️ Deploy request for wds-shadcn-registry rejected.

Name Link
πŸ”¨ Latest commit d849e26

@WebDevSimplified
Copy link
Owner

I don't want to skip linting MDX files if possible. The current setup lints these files and I don't want to remove that ability (especially since most of the important code in this project is in MDX files). I really appreciate and like the rest of the changes, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix]: TSEslint Deprecation

2 participants